//
//  VCOfDetails.m
//  UI_08_homework_UITableView
//
//  Created by li cheng on 16/7/25.
//  Copyright © 2016年 li cheng. All rights reserved.
//

#import "VCOfDetails.h"

@interface VCOfDetails ()

@end

@implementation VCOfDetails

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(10, 10, 300, 400)];
    label.backgroundColor = [UIColor yellowColor];
    NSString *string = [NSString stringWithFormat:@"%@%@%@%@", [self.dic objectForKey:@"name"], [self.dic objectForKey:@"age"], [self.dic objectForKey:@"gender"], [self.dic objectForKey:@"phoneNumber"]];
    label.text = string;
    label.numberOfLines = 0;
    [self.view addSubview:label];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
